package com.imoocdl.repository;

import com.imoocdl.dataobject.ProductCategory;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * Created by pc on 2018/3/30.
 * JpaRepository<ProductCategory(对象),Integer(主键类型)>
 *
 */
public interface ProductCategoryRepository extends JpaRepository<ProductCategory,Integer>{
    List<ProductCategory> findByCategoryTypeIn(List<Integer> categoryTypeList);
}
